package org.bigjava.travel.bean;

import java.util.Date;

/**
 * 旅游攻略的实体类
 */
public class Strategy{

    //ID
    private Integer id;

    //添加时间
    private Date addTime;

    //攻略的logo
    private String imgUrl;

    //攻略的标题
    private String title;

    //攻略的等级，一共有五级
    private Integer rating;

    //攻略内容
    private String summary;

    //拍的照片
    private String introUrl;

    //攻略的状态
    private Integer state;

    //攻略发布人  默认为1(官方),0(用户自己)
    private Integer addUser;

    public Integer getAddUser() {
        return addUser;
    }

    public void setAddUser(Integer addUser) {
        this.addUser = addUser;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public Integer getRating() {
        return rating;
    }

    public String getSummary() {
        return summary;
    }

    public String getIntroUrl() {
        return introUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public void setIntroUrl(String introUrl) {
        this.introUrl = introUrl;
    }

}
